﻿<Window x:Class="OfficeDocumentsGenerator.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Office Documents Generator" Height="600" Width="800">
    <Grid>
        <Border Style="{DynamicResource ResourceKey=BorderStyle}" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="568" Margin="1,1,0,0" VerticalAlignment="Top" Width="790">
            <StackPanel Height="600">
                <Label Content="Welcome to MS Office Documents Generator" HorizontalAlignment="Left" Height="37" Margin="169,53,0,0" VerticalAlignment="Top" Width="455" FontSize="22" Foreground="White"/>
                <Label Content="Choose document format :" Height="30" Margin="169,50,390,0" FontSize="16" Foreground="White"/>
                <RadioButton Name="wordRadio" IsChecked="True" Content="Word (docx)" HorizontalAlignment="Left" Width="116" Height="20" Margin="380,-20,0,0" FontSize="14" Foreground="White"/>
                <RadioButton Name="xlsRadio" Content="Excel (xlsx)" HorizontalAlignment="Left" Width="116" Height="20" Margin="380,0,0,0" FontSize="14" Foreground="White"/>
                <RadioButton Name="pptRadio" Content="Presentation (pptx)" HorizontalAlignment="Left" Width="145" Height="20" Margin="380,0,0,0" FontSize="14" Foreground="White"/>
                <TextBox Name="NumFiles" Height="25" TextWrapping="Wrap" Text="10" Margin="380,10,323,0"/>
                <Label Content="Number of Files :" Height="52" Margin="169,-30,413,0" FontSize="14" Foreground="White"/>
                <TextBox Name="destPath" Height="25" TextWrapping="Wrap" Text="D:\Files\DOCX" Margin="380,10,164,0"/>
                <Label Content="Output Location :" Height="52" Margin="169,-30,413,0" FontSize="14" Foreground="White"/>                
                <Button Name="generate_button" FontSize="14" Foreground="White" Style="{DynamicResource BlueButton}" IsEnabled="True"
                                Height="40" Width="200" HorizontalAlignment="Left" Margin="300,80,0,0" Click="generate_button_clicked">
                    <DockPanel Margin="5">
                        <TextBlock Text="Generate Documents" FontSize="15" Foreground="White" VerticalAlignment="Center"/>
                    </DockPanel>
                </Button>
                <TextBlock x:Name="reportProgressText"  Text="{Binding ProgressPercentage, Mode=TwoWay}" FontSize="16" HorizontalAlignment="Center" Margin="10,-95,0,0"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
